<template>
	<div align="center">
		<el-card shadow="hover" align="center" style="width: 80%; margin-top: 5%; border-width: 3px">
			<template #header>
				<i class="el-icon-lx-settings" style="color: red"></i>
				<a style="color: red; margin-left: 1em">请先对本机进行初始化</a>
			</template>
			<Setting></Setting>
		</el-card>
	</div>
	
</template>

<script>
import Setting from "./Setting.vue";
export default {
	name: "Init",
	components: {Setting},
	mounted() {
		if (localStorage.getItem('deviceId') !== null) {
			this.$router.push('/index');
		}
	},
}
</script>

<style scoped>

</style>